package com.ruoyi.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 考卷信息对象 rm_test
 * 
 * @author ruoyi
 * @date 2019-11-26
 */
public class RmTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试卷id */
    private Long tid;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String tname;

    /** 试卷描述 */
    @Excel(name = "试卷描述")
    private String tdesc;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tcreatetime;

    /** 考试人数 */
    @Excel(name = "考试人数")
    private Long usernumber;

    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setTdesc(String tdesc) 
    {
        this.tdesc = tdesc;
    }

    public String getTdesc() 
    {
        return tdesc;
    }
    public void setTcreatetime(Date tcreatetime) 
    {
        this.tcreatetime = tcreatetime;
    }

    public Date getTcreatetime() 
    {
        return tcreatetime;
    }
    public void setUsernumber(Long usernumber) 
    {
        this.usernumber = usernumber;
    }

    public Long getUsernumber() 
    {
        return usernumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("tname", getTname())
            .append("tdesc", getTdesc())
            .append("tcreatetime", getTcreatetime())
            .append("usernumber", getUsernumber())
            .toString();
    }
}
